<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Newton Dynamics: ndBodySphFluid::ndGridHash Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo_php.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Newton Dynamics
   &#160;<span id="projectnumber">4.00</span>
   </div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.svg"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classnd_body_sph_fluid_1_1nd_grid_hash.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classnd_body_sph_fluid_1_1nd_grid_hash-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ndBodySphFluid::ndGridHash Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ace3407ed25f87301dd95fc6bd84365ef"><td class="memItemLeft" align="right" valign="top"><a id="ace3407ed25f87301dd95fc6bd84365ef"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ndGridHash</b> (ndUnsigned64 gridHash)</td></tr>
<tr class="separator:ace3407ed25f87301dd95fc6bd84365ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9712308c3e56bb9bc011bf0f7ad14a1d"><td class="memItemLeft" align="right" valign="top"><a id="a9712308c3e56bb9bc011bf0f7ad14a1d"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ndGridHash</b> (ndInt32 y, ndInt32 z)</td></tr>
<tr class="separator:a9712308c3e56bb9bc011bf0f7ad14a1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a894d3ea83f9586c9470f680e34944d72"><td class="memItemLeft" align="right" valign="top"><a id="a894d3ea83f9586c9470f680e34944d72"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ndGridHash</b> (const <a class="el" href="classnd_vector.html">ndVector</a> &amp;grid, ndInt32 particleIndex)</td></tr>
<tr class="separator:a894d3ea83f9586c9470f680e34944d72"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a2544221e9482c7fbb3f1eec023ad942b"><td class="memItemLeft" ><a id="a2544221e9482c7fbb3f1eec023ad942b"></a>
union {</td></tr>
<tr class="memitem:addfc04ebf7ef43630875b4f42f6c049e"><td class="memItemLeft" ><a id="addfc04ebf7ef43630875b4f42f6c049e"></a>
&#160;&#160;&#160;struct {</td></tr>
<tr class="memitem:a47c3772a66dab6718b69881db13ee02d"><td class="memItemLeft" >
&#160;&#160;&#160;&#160;&#160;&#160;ndUnsigned64&#160;&#160;&#160;<b>m_y</b>: D_SPH_HASH_BITS * 2</td></tr>
<tr class="separator:a47c3772a66dab6718b69881db13ee02d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a29b432b4bb999100efaa09658d07b1"><td class="memItemLeft" >
&#160;&#160;&#160;&#160;&#160;&#160;ndUnsigned64&#160;&#160;&#160;<b>m_z</b>: D_SPH_HASH_BITS * 2</td></tr>
<tr class="separator:a6a29b432b4bb999100efaa09658d07b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a547c88b34b21df5a94a1242ecc0e3e6a"><td class="memItemLeft" >
&#160;&#160;&#160;&#160;&#160;&#160;ndUnsigned64&#160;&#160;&#160;<b>m_particleIndex</b>: 23</td></tr>
<tr class="separator:a547c88b34b21df5a94a1242ecc0e3e6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aadd094c8f6035f9a755f37c9cf8e8f9f"><td class="memItemLeft" >
&#160;&#160;&#160;&#160;&#160;&#160;ndUnsigned64&#160;&#160;&#160;<b>m_cellType</b>: 1</td></tr>
<tr class="separator:aadd094c8f6035f9a755f37c9cf8e8f9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:addfc04ebf7ef43630875b4f42f6c049e"><td class="memItemLeft" valign="top">&#160;&#160;&#160;}&#160;</td><td class="memItemRight" valign="bottom"></td></tr>
<tr class="separator:addfc04ebf7ef43630875b4f42f6c049e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13cd20c67a30181a891bb4158775a437"><td class="memItemLeft" ><a id="a13cd20c67a30181a891bb4158775a437"></a>
&#160;&#160;&#160;struct {</td></tr>
<tr class="memitem:a0ba4bc18f6481d3cea2a86ca3158ca1d"><td class="memItemLeft" >
&#160;&#160;&#160;&#160;&#160;&#160;ndUnsigned64&#160;&#160;&#160;<b>m_yLow</b>: D_SPH_HASH_BITS</td></tr>
<tr class="separator:a0ba4bc18f6481d3cea2a86ca3158ca1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c80b99ce77d7ea59470a8460b5d0763"><td class="memItemLeft" >
&#160;&#160;&#160;&#160;&#160;&#160;ndUnsigned64&#160;&#160;&#160;<b>m_yHigh</b>: D_SPH_HASH_BITS</td></tr>
<tr class="separator:a4c80b99ce77d7ea59470a8460b5d0763"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9e54e24a49329e848319d08cc1824c6"><td class="memItemLeft" >
&#160;&#160;&#160;&#160;&#160;&#160;ndUnsigned64&#160;&#160;&#160;<b>m_zLow</b>: D_SPH_HASH_BITS</td></tr>
<tr class="separator:ac9e54e24a49329e848319d08cc1824c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8b81f97ba61eaf5c88a9e5da0c657e7"><td class="memItemLeft" >
&#160;&#160;&#160;&#160;&#160;&#160;ndUnsigned64&#160;&#160;&#160;<b>m_zHigh</b>: D_SPH_HASH_BITS</td></tr>
<tr class="separator:aa8b81f97ba61eaf5c88a9e5da0c657e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13cd20c67a30181a891bb4158775a437"><td class="memItemLeft" valign="top">&#160;&#160;&#160;}&#160;</td><td class="memItemRight" valign="bottom"></td></tr>
<tr class="separator:a13cd20c67a30181a891bb4158775a437"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6bcf89ed76005b1c94f518c1af94dc6b"><td class="memItemLeft" >
&#160;&#160;&#160;ndUnsigned64&#160;&#160;&#160;<b>m_gridHash</b>: D_SPH_HASH_BITS * 2 * 2</td></tr>
<tr class="separator:a6bcf89ed76005b1c94f518c1af94dc6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2544221e9482c7fbb3f1eec023ad942b"><td class="memItemLeft" valign="top">};&#160;</td><td class="memItemRight" valign="bottom"></td></tr>
<tr class="separator:a2544221e9482c7fbb3f1eec023ad942b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classnd_body_sph_fluid.html">ndBodySphFluid</a></li><li class="navelem"><a class="el" href="classnd_body_sph_fluid_1_1nd_grid_hash.html">ndGridHash</a></li>
    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  </ul>
</div>
</body>
</html>
